<!DOCTYPE html>
<html>
<head>
	<title>交易表</title>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  	<script src="/common/css.js"></script>
</head>
<body>
<div id="rrapp" class="content" v-cloak>
	<div v-show="showList">
		<div class="row">
		<div class="grid-btn">
			<div class="form-group col-xs-2" style="padding-left:1px;">
				<div class="input-group">
					<input type="text" class="form-control" id="payPhone" placeholder="付款方">
				</div>
			</div>
			<div class="form-group col-xs-2" style="padding-left:1px;">
				<div class="input-group">
					<input type="text" class="form-control" id="recPhone" placeholder="收款方">
				</div>
			</div>
			<div class="form-group col-xs-4" style="padding-left: 1px;">
				<div class="input-group">
					<input type="text" class="form-control" id="filterTime" style="min-width: 256px;" readonly placeholder="查询时间">
					<span class="input-group-addon" title="清除" style="cursor:pointer" @click="trash">
						<i class="fa fa-trash-o bigger-110"></i>
					</span>
				</div>
			</div>
		</div>
		</div>
		<div class="row">
			<div class="form-group col-xs-3" style="padding-left:1px;">
				<div class="input-group">
					<select class="form-control" id="ytfType" style="min-width: 188px;">
						<option value="" selected>币种</option>
						<option value="0">IMU</option>
						<option value="1">以太坊</option>
						<option value="2">易买宝</option>
						<option value="3">KTC</option>
						<option value="4">GET</option>
						<option value="5">贝壳</option>
						<option value="6">HBC</option>
						<option value="7">BTC</option>
						<option value="8">FCG</option>
					</select>
				</div>
			</div>
			<div  class="form-group col-xs-2" style="padding-left:1px;">
				<div class="input-group">
					<select class="form-control" id="equalsf" style="min-width: 120px;">
						<option value="" selected>条件</option>
						<option value="0">&lt;</option><!--小于-->
						<option value="1">&gt;</option><!--大于号-->
						<option value="2">&le;</option><!--小于等于号-->
						<option value="3">&ge;</option><!--大于等于号-->
						<option value="4">=</option><!--等于号-->
					</select>
				</div>
			</div>
			<div  class="form-group col-xs-3" style="padding-left:1px;">
				<div class="input-group">
					<input type="text" class="form-control" id="money" placeholder="金额">
				</div>
			</div>
			<a v-if="hasPermission('tradeinfo:list')" class="btn btn-default"   @click="query">  <i class="fa fa-search"></i>&nbsp;查询</a>
			<a v-if="hasPermission('tradeinfo:export')" class="btn btn-default" @click="vexport"><i class="fa fa-search"></i>&nbsp;导出</a>
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
	<div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal" role="form" style="width:90%; min-width: 600px;">
			<div class="form-group">
			   	<div class="col-sm-2 control-label">支付用户ID</div>
			   	<div class="col-sm-10">
			      	<input type="text" class="form-control" v-model="dto.payUserId" placeholder="支付用户ID"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">接受用户ID</div>
			   	<div class="col-sm-10">
			      	<input type="text" class="form-control" v-model="dto.recUserId" placeholder="接受用户ID"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">订单编号</div>
			   	<div class="col-sm-10">
			      	<input type="text" class="form-control" v-model="dto.orderNo" placeholder="订单编号"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">订单类型-1：全部，0：转出，1：兑换，2：转入，3：储存，4：提取</div>
			   	<div class="col-sm-10">
			      	<input type="text" class="form-control" v-model="dto.orderType" placeholder="订单类型-1：全部，0：转出，1：兑换，2：转入，3：储存，4：提取"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">订单状态0：处理中，1：完成</div>
			   	<div class="col-sm-10">
			      	<input type="text" class="form-control" v-model="dto.orderState" placeholder="订单状态0：处理中，1：完成"/>
			    </div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">币种</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dto.orderState" placeholder="币种1:人民币,2:港币"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">IMU兑人民币汇率</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dto.imuToRmb" placeholder="IMU兑人民币汇率"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">人民币兑港币汇率</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dto.gbToRmb" placeholder="人民币兑港币汇率"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">订单金额</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dto.totalMoney" placeholder="订单金额"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">需要IMU个数</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dto.needMoney" placeholder="需要IMU个数"/>
				</div>
			</div>

			<div class="form-group">
			   	<div class="col-sm-2 control-label">交易金额</div>
			   	<div class="col-sm-10">
			      	<input type="text" class="form-control" v-model="dto.money" placeholder="交易金额"/>
			    </div>
			</div>

			<div class="form-group">
			   	<div class="col-sm-2 control-label">交易时间</div>
			   	<div class="col-sm-10">
			      	<input type="text" class="form-control" v-model="dto.orderCreate" placeholder="交易时间"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">详情</div>
			   	<div class="col-sm-10">
			      	<input type="text" class="form-control" v-model="dto.detail" placeholder="详情"/>
			    </div>
			</div>
			<!--<div class="form-group">
			   	<div class="col-sm-2 control-label">交易ID</div>
			   	<div class="col-sm-10">
			      	<input type="text" class="form-control" v-model="dto.transId" placeholder="交易ID"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">接受地址</div>
			   	<div class="col-sm-10">
			      	<input type="text" class="form-control" v-model="dto.recAddr" placeholder="接受地址(对于转出方为接受人地址，对于转入方为转出人地址)"/>
			    </div>
			</div>-->


		</form>
	</div>
</div>

<script src="/common/js.js"></script>
<script type="text/javascript">
	dynamicLoading.js(rootPath + "js/modules/business/tradeinfo/tradeinfo.js", "utf-8");
</script>
</body>
</html>